package club.vann.mock.web.service;

import club.vann.mock.db.entity.BizMockConfigEntity;
import club.vann.mock.db.repository.BizMockConfigRepository;
import java.util.List;
import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;

@Log4j2
@RequiredArgsConstructor
@Service
public class BizMockConfigService {
  private final BizMockConfigRepository bizMockConfigRepository;

  public List<BizMockConfigEntity> list() {
    return bizMockConfigRepository.findAll();
  }
}
